package com.base.bean;

import java.sql.Timestamp;

/**
 * UserLogin entity. @author MyEclipse Persistence Tools
 */

public class UserLogin implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer uid;
	private String sid;
	private String fromUser;
	private String data;
	private Timestamp created;
	private Timestamp expiretime;

	// Constructors

	/** default constructor */
	public UserLogin() {
	}

	/** minimal constructor */
	public UserLogin(Integer id, Integer uid) {
		this.id = id;
		this.uid = uid;
	}

	/** full constructor */
	public UserLogin(Integer id, Integer uid, String sid, String fromUser,
			String data, Timestamp created, Timestamp expiretime) {
		this.id = id;
		this.uid = uid;
		this.sid = sid;
		this.fromUser = fromUser;
		this.data = data;
		this.created = created;
		this.expiretime = expiretime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getSid() {
		return this.sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getFromUser() {
		return this.fromUser;
	}

	public void setFromUser(String fromUser) {
		this.fromUser = fromUser;
	}

	public String getData() {
		return this.data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public Timestamp getCreated() {
		return this.created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public Timestamp getExpiretime() {
		return this.expiretime;
	}

	public void setExpiretime(Timestamp expiretime) {
		this.expiretime = expiretime;
	}

}